package com.futureCloudMOM.core.service;

import com.futureCloudMOM.core.domain.WmsInventoryMain;
import com.futureCloudMOM.core.base.service.BaseService;
import com.futureCloudMOM.core.domain.WmsInventorySub;
import com.futureCloudMOM.core.dto.WmsInventoryMainDTO;

import java.util.List;

/**
 * 【WMS_InventoryMain】的数据库操作Service
 *
 * @author Administrator
 * @since 2023-06-07 09:14:43
 */
public interface WmsInventoryMainService extends BaseService<WmsInventoryMain> {

    /**
     * 盘点单新建
     * @param wmsInventoryMainDTO
     */
    void created(WmsInventoryMainDTO wmsInventoryMainDTO);

    /**
     * 开始盘点
     * @param id 盘点单Id
     */
    void startInventory(Long id);

    /**
     * 盘点提交
     * @param list
     */
    void submit(List<WmsInventorySub> list);
}
